home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / embedded / m68k / fbug68k.arc / VARDEF.H < prev   
Text File  |  1989-08-17  |  2KB  |  55 lines

  1. /* ***************************************************************** */
  2. /* 
  3. This is a collection of variables used in the monitor. This section of
  4. code is "included" in the main.c, so the declerations are made only
  5. once. It is meant to be located in RAM space during linking.
  6. */
  7. /* ***************************************************************** */
  8.  
  9. char argv[MAXLINE];    /* Command line that is typed in by user */
  10. int argc;        /* Number of arguments on the command line */
  11. int asmdata;        /* Memory location with data for assembly routines */
  12. int asmaddr;        /* Memory location with address for assembly routines */
  13. int error;        /* Global error flag for getnum routine */
  14. int tracecount;        /* Trace count */
  15. int oldbraddr;        /* Break point just hit address */
  16. int regdata[MAXREGS];    /* Memory with reg values for assembly routine */
  17. int stackptr;        /* Pointer to intterupt stack frame */
  18. int snum;        /* Check sum value used by locmd */
  19. int csptr;        /* Monitor stack pointer */
  20. int handlerflag;
  21.  
  22. /* ******************** ADDITIONS *************************** */
  23.  
  24. char lastcmd[MAXLINE];    /* Last command line that was typed in by user */
  25. int overheadRTS;
  26. int startbenchmark;
  27. int *ptr_to_overheadRTS = &overheadRTS;
  28. int assemblycode[11];
  29. int instructnum,condition;
  30. char sizechar[2];
  31. ACTUALFIELD_T_F Fieldoption[5];
  32. int MIPOST;
  33. int packasm;
  34. char *opwordsyntax[50];
  35. int confres;
  36.  
  37. #if ((COPROCESSOR==TRUE) || (DEVICE==68040))
  38. char optionSorD;
  39. int predicate;
  40.  
  41. struct regelem fpu[MAXREGS];        /* MPU register table */
  42. #endif
  43.  
  44. /* ******************** ADDITIONS *************************** */
  45.  
  46. struct breakelem brtable[MAXBR];    /* Breakpoint table */
  47.  
  48. struct symbelem symb[MAXSYMBOL];    /* Symbol table */
  49.  
  50. struct regelem mpu[MAXREGS];        /* MPU register table */
  51.  
  52. /* ***************************************************************** */
  53.  
  54. int m8[255];
  55.